From: Alex Williamson Date: Thu, 29 Nov 2007 18:57:23 +0000 (-0700) Subject: [IA64] Create XEN_DOMCTL_set_opt_feature X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14687 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=13511bb02ac7493b794682156756f70908ea4b35;p=xen.git [IA64] Create XEN_DOMCTL_set_opt_feature Intended for domain builder code to be able to set architecture specific optimization features for a domain. Signed-off-by: Alex Williamson Acked-by: Keir Fraser --- diff --git a/xen/include/public/domctl.h b/xen/include/public/domctl.h index d9f9f5dea5..5d9a44c3ee 100644 --- a/xen/include/public/domctl.h +++ b/xen/include/public/domctl.h @@ -539,6 +539,17 @@ struct xen_domctl_ext_vcpucontext { typedef struct xen_domctl_ext_vcpucontext xen_domctl_ext_vcpucontext_t; DEFINE_XEN_GUEST_HANDLE(xen_domctl_ext_vcpucontext_t); +/* + * Set optimizaton features for a domain + */ +#define XEN_DOMCTL_set_opt_feature 44 +struct xen_domctl_set_opt_feature { +#ifdef __ia64__ + struct xen_ia64_opt_feature optf; +#endif +}; +typedef struct xen_domctl_set_opt_feature xen_domctl_set_opt_feature_t; +DEFINE_XEN_GUEST_HANDLE(xen_domctl_set_opt_feature_t); struct xen_domctl { uint32_t cmd; @@ -575,6 +586,7 @@ struct xen_domctl { struct xen_domctl_ioport_mapping ioport_mapping; struct xen_domctl_pin_mem_cacheattr pin_mem_cacheattr; struct xen_domctl_ext_vcpucontext ext_vcpucontext; + struct xen_domctl_set_opt_feature set_opt_feature; uint8_t pad[128]; } u; };